/**
 * $Id: User.java 19 2011-06-11 04:06:06Z feigme $
 */
package com.iary.domain.model.user;

import java.util.Date;

import com.iary.domain.model.EntitySupport;
import com.iary.domain.model.bookshelf.BookShelf;

public class User extends EntitySupport<User> {

	private UserLoginInfo userLoginInfo;
	private Date createDate;

	private BookShelf bookShelf;

	// Needed by Hibernate
	User() {
	}

	public User(UserLoginInfo userLoginInfo) {
		this.createDate = new Date();
		this.userLoginInfo = userLoginInfo;
	}

	public User(UserLoginInfo userLoginInfo, Date createDate) {
		this.createDate = createDate;
		this.userLoginInfo = userLoginInfo;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public UserLoginInfo getUserLoginInfo() {
		return userLoginInfo;
	}

	public BookShelf getBookShelf() {
		return bookShelf;
	}

}
